package com.dq.service.sys.user.centre;

import com.alibaba.fastjson.JSONObject;
import com.dq.controller.in.UserAccountStaffUserQuery;
import com.dq.controller.in.UserAccountStaffUserRequest;
import com.dq.domain.subscribe.Subscribe;
import com.dq.domain.sys.user.Account;
import com.dq.domain.sys.user.center.UserAccountStaffUser;
import com.dq.domain.sys.user.user.BossUser;
import com.dq.exception.customException.AdminException;
import com.dq.vo.Vo;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author luchangtong
 * @Date 2020/4/14 15:08
 */
public interface UserAccountStaffUserService {
    Vo distributionRatio(UserAccountStaffUserRequest userAccountStaffUserRequest) throws AdminException;

    public void addUserAccountStaffUser(Account account, Subscribe subscribe, List<JSONObject> domains, Account.ChangeType changeType,Account.RechargeType rechargeType) throws AdminException;

    /**
     * 支付预约的提成
     */
    public void  paySubscribeUserAccountStaffUser(Account account, BossUser staffUser, BigDecimal proportion);

    public Vo list(UserAccountStaffUserQuery userAccountStaffUserQuery)throws AdminException;
}
